<?php


namespace Drupal\shushengyuan\Schemas;

/**
 * @OA\Schema(
 *   schema="OrderShare",
 *   type="object",
 *   description="订单拼团分享信息"
 * )
 */
class OrderShare extends AbstractBaseModel {

  protected function getEntityType() {
    return FALSE;
  }

  protected function setValue() {
    $value = [
      /**
       * @OA\Property(
       *   property="title",
       *   type="string",
       *   description="分享标题",
       * ),
       */
      'title' => '',
      /**
       * @OA\Property(
       *   property="image",
       *   type="string",
       *   description="分享图片",
       * ),
       */
      'image' => '',
      /**
       * @OA\Property(
       *   property="path",
       *   type="string",
       *   description="分享路径",
       * ),
       */
      'path' => '',
    ];
    $this->merge($value);
  }

}
